//
//  XDRootViewController.m
//  Measure
//
//  Created by xieyajie on 14-3-4.
//  Copyright (c) 2014年 XDIOS. All rights reserved.
//

#import "XDRootViewController.h"

#import "DBCameraViewController.h"
#import "CustomCamera.h"

#define kCellIdentifier @"CellIdentifier"
#define kCameraTitles @[ @"Open Camera", @"Open Custom Camera", @"Open Camera without Segue" ]

@interface XDRootViewController ()
{
    CGFloat _viewHeight;
}

@end

@implementation XDRootViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_7_0
    [self setEdgesForExtendedLayout:UIRectEdgeNone];
#endif
    
    _viewHeight = [[UIScreen mainScreen] bounds].size.height - 20;
    if (self.navigationController.navigationBar && !self.navigationController.navigationBar.translucent) {
        _viewHeight -= 44;
    }
    
    self.view.backgroundColor = [UIColor redColor];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

#pragma mark - touch



@end
